package com.se.db;

import com.se.common.Group;

import java.sql.SQLException;
import java.util.List;

public class DbTest {
    public static void main(String[] args){
        try{
            List<Group> groups = DbGroup.getInstance().search("100");
            for(var i : groups) {
                System.out.println(i.getGroupName());
            }
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}
